package comun;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2004</p>
 * <p>Company: </p>
 * @author unascribed
 * @version 1.0
 */

public class Singleton {

  private static Long id = new Long(0);

  public static Long getNewId()
  {
    id = new Long(id.longValue()+1);
    return id;
  }
  public static void setId(Long idNuevo) {
    id = idNuevo;
  }

}